﻿using GDGeek;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace MrPP.SerriedCabinet { 
    public class Cabinet : MonoBehaviour
    {
        [SerializeField]
        private TextMeshPro _text;
        private TransformData data_= null;
        public int id {
            set;
            get;
        }
        public void refresh() {  
            _text.text = (id +1).ToString();
            data_ = new TransformData(this.transform, TransformData.Type.Local);
        }
        public TransformData original {
            get {
                return data_;
            }
        }
    }
}
